package com.ny.mingli_measurement.service.impl;

import com.ny.mingli_measurement.model.TestTable;
import com.ny.mingli_measurement.dao.TestTableDao;
import com.ny.mingli_measurement.service.TestTableService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ny
 * @since 2021-05-03
 */
@Service
public class TestTableServiceImpl extends ServiceImpl<TestTableDao, TestTable> implements TestTableService {

    @Autowired(required = false)
    TestTableDao testTableDao;

    @Override
    public TestTable getObjByNameAndPSW(String name, String password) {
        return testTableDao.getObjByNameAndPSW(name,password);
    }
}
